package a_soso1.common;

import java.text.DecimalFormat;

public class Common {
    public Common() {
    }

    public static String dataFormat(double data){
        DecimalFormat formatData = new DecimalFormat("#.0");
        return formatData.format(data);
    }

    public static double sub(double num1,double num2){
        return (num1*10.0D-num2*10.0D)/10.0D;
    }

}
